package com.autohammal.ui.frame.data;

public abstract class AbstractViewData implements ViewData {
	private String name=null;
	private Object data=null;
	private Viewer viewer;
	private ViewState viewState=ViewState.NORMAL;
	
	
	
	@Override
	public Viewer getViewer() {
		return viewer;
	}

	public void setViewer(Viewer viewer) {
		this.viewer=viewer;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public Object getData() {
		return data;
	}
	
	public void setData(Object data) {
		this.data = data;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public ViewState getViewState() {
		return viewState;
	}
	
	public void setViewState(ViewState viewState) {
		this.viewState = viewState;
	}

}
